//--------------------------------------------------------------------------------
// This file is a portion of the D2D1Renderer.  It is distributed
// under the MIT License, available in the root of this distribution and 
// at the following URL:
//
// http://www.opensource.org/licenses/mit-license.php
//
// Copyright (c) Mirco Timmermann
//
// Sources: http://www.w3.org/TR/2dcontext/
//--------------------------------------------------------------------------------
#pragma once

#ifndef __CANVAS_FLOAT
#define __CANVAS_FLOAT
#endif

#include <string>


class CanvasLineStyles {

///////////////////////////////////////////////////////////////////////////////////////////////
//                                     DRAW INTERFACE                                        //
///////////////////////////////////////////////////////////////////////////////////////////////

public:
	CanvasLineStyles::CanvasLineStyles() {
		 lineWidth = 1.0; // (default 1)
		 lineCap = "butt"; // "butt", "round", "square" (default "butt")
		 lineJoin = "miter"; // "round", "bevel", "miter" (default "miter")
		 miterLimit = 10.0; // (default 10)
	}

#ifdef __CANVAS_DOUBLE
	// line caps/joins
    double lineWidth; // (default 1)
    std::string lineCap; // "butt", "round", "square" (default "butt")
    std::string lineJoin; // "round", "bevel", "miter" (default "miter")
    double miterLimit; // (default 10)
#endif

#ifdef __CANVAS_FLOAT
	// line caps/joins
    float lineWidth; // (default 1)
    std::string lineCap; // "butt", "round", "square" (default "butt")
    std::string lineJoin; // "round", "bevel", "miter" (default "miter")
    float miterLimit; // (default 10)
#endif


};